package com.hup.utils.jna.hotkey;

import lombok.Getter;

/**
 * @author hugan
 * @date 2020/4/9
 */
public class HkConflictException extends RuntimeException {

    @Getter
    private final HotKey newer;
    @Getter
    private final HotKey older;

    protected HkConflictException(HotKey newer, HotKey older) {
        super("与旧热键" + older + "冲突");
        this.newer = newer;
        this.older = older;
    }

}
